package cn.org.custom.client.responseHandler;

import cn.org.custom.message.GroupJoinResponseMessage;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;


@Slf4j
public class GroupJoinResponseHandler extends SimpleChannelInboundHandler<GroupJoinResponseMessage> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, GroupJoinResponseMessage groupJoinResponseMessage) throws Exception {
        log.debug("消息: {}", groupJoinResponseMessage.getReason());
    }
}
